package com.company.jiaohuan;

public class JH {
    public static void main(String[] args) {
       //
        char grade = 'B';

        switch (grade){
            case 'A':
                System.out.println("优秀");
                break;//可选
            case  'B':
                    System.out.println("良好");
                break;//可选
            case 'C':
                System.out.println("及格");
                break;//可选
            case  'D':
                System.out.println("再接再厉");
                break;//可选
            case 'E':
                System.out.println("拉了兄弟");
                break;//可选
            default:
                System.out.println("未知等级");
        }
    }
}

